package com.avic.modules.equipment.service;

import com.avic.common.service.BaseService;
import com.avic.modules.equipment.domain.Equipment;
import com.avic.modules.equipment.domain.EquipmentCategory;
import com.avic.modules.equipment.service.dto.EquipmentQueryCriteria;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * @author zhangzikang 设备类别表
 * @date 2022-08-14
 */
public interface EquipmentCategoryService extends BaseService<EquipmentCategory> {

    /**
     * 查询所有数据不分页
     * @param criteria 条件参数
     * @return List<EquipmentCategory>
     */
    List<EquipmentCategory> queryAlls(EquipmentQueryCriteria criteria);

    /**
     * 查询所有数据不分页
     * @param criteria 条件参数
     * @return List<EquipmentCategory>
     */
    List<Equipment> queryAll(EquipmentQueryCriteria criteria);

    /**
     * 首页查询接口
     * @param criteria
     * @return
     */
    Map<String, Object> queryStation(EquipmentQueryCriteria criteria) throws ExecutionException, InterruptedException;

}
